package com.business.dashboard.model;

import javax.validation.constraints.NotBlank;

/**
 * 管理员登录请求模型
 *
 * @author Claude
 * @since 2025-07-07
 */
public class AdminLoginRequest {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    public AdminLoginRequest() {}

    public AdminLoginRequest(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}